home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9232 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: news.iadfw.net!usenet
  2. From: Mark Nelson <markn@airmail.net>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Help with RS-232
  5. Date: Thu, 29 Feb 1996 08:54:42 -0600
  6. Organization: customer of Internet America
  7. Message-ID: <3135BE32.64BC@airmail.net>
  8. References: <31356BB5.454A@eos.ncsu.edu>
  9. NNTP-Posting-Host: dal18-19.ppp.iadfw.net
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.0GoldB1 (Win95; I)
  14.  
  15. Ben Heard wrote:
  16. > Does anyone have some C++ code for communicating with through an
  17. > RS-232 comm port. I need to be able to control the DTR, RTS, and
  18. > TX lines and be able to read the RX line. I don't need the program
  19. > to use interrupts. 
  20.  
  21. Yes you do!  If you are running under MS-DOS, you aren't going to be 
  22. able to have reliable communications without using an interrupt based 
  23. driver.
  24.  
  25. If you feel comfortable with Windows programming, you can get around
  26. this problem by using the Win API.  Open your online help, search for
  27. OpenComm(), and then follow the links to the remaining communications
  28. functions.
  29.  
  30. Mark Nelson
  31. http://web2.airmail.net/markn - Links to RS-232 programming articles
  32.